package com.china.bike.enums;

public enum BikeStatusEnum {
    NORMAL(new Byte("1"), "正常"),
    REPAIRS(new Byte("2"), "报修"),
    SCRAP(new Byte("3"), "报废");

    private Byte code;
    private String message;

    BikeStatusEnum(Byte code, String message) {
        this.code = code;
        this.message = message;
    }

    public Byte getCode() {
        return code;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
